package com.shj.model;

import lombok.Getter;
import lombok.Setter;

/**
 * @Description TODO 分页请求实体
 * @Author songhuajian
 * @Date 2020/3/19 14:35
 **/
@Getter
@Setter
public class PageRequest {
    /**
     * 当前页码
     */
    private Integer pageNum;
    /**
     * 每页数量
     */
    private Integer pageSize;
    /**
     * 搜索的参数
     */
    private String title;

    @Override
    public String toString() {
        return "PageRequest{" +
                "pageNum=" + pageNum +
                ", pageSize=" + pageSize +
                ", title='" + title + '\'' +
                '}';
    }
}
